<?php
if($this->session->userdata['group_id'] == 1 || $this->session->userdata['group_id'] == 79){
	echo '<script type="text/javascript" src="'.STATIC_URL.'backend/js/autoload_office.js"></script>';//ajax thanh toan tai van phong
	echo '<span id="autooffice"></span>'; 

	echo '<script type="text/javascript" src="'.STATIC_URL.'backend/js/autoload_bank.js"></script>';//ajax bank
	echo '<span id="autobank"></span>'; 

	echo '<script type="text/javascript" src="'.STATIC_URL.'backend/js/autoload_athome.js"></script>';//ajax bank
	echo '<span id="autoathome"></span>';

        echo '<script type="text/javascript" src="'.STATIC_URL.'backend/js/autoload_debts.js"></script>';
        echo '<span id="cong-no"></span>';     
}

if($this->session->userdata['group_id'] == 78){
        echo '<script type="text/javascript" src="'.STATIC_URL.'backend/js/autoload_air.js"></script>';//ajax bank
	echo '<span id="autoair"></span>';
}